package com.iptv.grape.domain;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

public class ChannelBillContainer {

    private String channelID;
    private String dateTimeString;
    private List<ChannelBill> bills = new ArrayList<ChannelBill>();
    private boolean isAccessNetwork = false;

    public ChannelBillContainer(String channelID, String dateTimeString) {
        this.channelID = channelID;
        this.dateTimeString = dateTimeString;
    }

    public String getChannelID() {
        return channelID;
    }

    public String getDateTimeString() {
        return dateTimeString;
    }

    public void setAccessNetwork(boolean accessNetwork) {
        isAccessNetwork = accessNetwork;
    }

    public List<ChannelBill> getBills() {
        return bills;
    }

    public boolean isAccessNetwork() {
        return isAccessNetwork;
    }

    public void sortList(){
        Collections.sort(bills);
    }


}


